Skip to content

jmetzger/training-linux-security

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Linux Security and Hardening

Agenda

  1. Wireshark / tcpdump / nmap

  2. Network Intrusion Detection

  3. Host Intrusion Detection

  4. Logging

  5. Local Security

  6. Disk Managemenet

  7. SELinux / appArmor

  8. Docker / Podman with Seccomp

  9. Attacks

  10. Firewall

  11. Kernel Hardening

  12. Vulnerability Scans

  13. Securing Network Services

  14. Virtualization

  15. Hacking

  16. Basics

  17. Server Automation

  18. Starting

  19. Documentation

Change language on Ubuntu

dpkg-reconfigure locales 
# see locales that are current configured
locale 
# place where it is configured 
/etc/default/locale 

# After that relogin or do 
# su student 
locale 

Patching of packages (e.g.)

Search - Engine IoT

Secure grub with password (not at boot but for changes and subentries

#  Create password 
#  e.g. password 
grub-mkpasswd-pbkdf2

# /etc/grub.d/01_password 
#!/bin/sh
set -e 

cat << EOF 
set superusers='grub'
password_pbkdf2 grub grub.pbkpdf2.sha512.....
EOF

##
chmod a+x /etc/grub.d/01_password 

## Datei 10_linux 
## Variable CLASS
## at then 
## 
CLASS="--class gnu-linux ..... --unrestricted" 

update-grub 

rsyslog

Basics

# Hyphen before filename : -/..... 
# is for syncing but enabled by default since 
https://serverfault.com/questions/463170/what-does-filepath-action-mean-in-rsyslog-configuration
## it is set on by default anyways 
# You may prefix each entry with the minus “-‘’ sign to omit syncing the file after every logging.

Bug on ubuntu kern.* logs to user.*

logger -p kern.debug "Testmessage"
# that one logs to user.* 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published